SUPPORT / SAMPLES & SAS NOTES
 

Support

Installation Note 47150: An error occurs when you migrate the SharedServices database while configuring the SAS® Web Infrastructure Platform Database

DetailsAboutRate It

When you are migrating your system from SAS® 9.2 to SAS® 9.3, you might receive errors during the configuration of the SAS Web Infrastructure Platform.

This SAS Configuration Failure error might appear:


image label

 

 

Errors Occur in Your webinfpltfm_ImportDatabase.log

You might see this error in your webinfpltfm_ImportDatabase.log, which is located in the configuration_directory\Lev#\Logs\Configure directory:

Error importing database.
com.sas.smu.webinfpltfm.DbException: Exception encountered migrating  
database table: SAS_AUDIT
at 
com.sas.smu.webinfpltfm.schema.version_4_0.WIPDbImporter.executeInsert
(WIPDbImporter.java:578)
at  
com.sas.smu.webinfpltfm.schema.version_4_0.WIPDbImporter.importDatabaseTables
(WIPDbImporter.java:416)
at
com.sas.smu.webinfpltfm.schema.version_4_0.WIPDbImporter.importDatabase(
WIPDbImporter.java:340)
at com.sas.smu.webinfpltfm.DbImporterFactory.main
(DbImporterFactory.java:313)
Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to
java.lang.String
at
com.sas.smu.webinfpltfm.schema.version_4_0.TableImporterSASAudit.
insertRecords(TableImporterSASAudit.java:282)
at
com.sas.smu.webinfpltfm.schema.version_4_0.TableImporterSASAudit.processTable
(TableImporterSASAudit.java:146)
at
com.sas.smu.webinfpltfm.schema.version_4_0.WIPDbImporter.executeInsert
(WIPDbImporter.java:536)

Errors Occur in Your webinfpltfm_startServer_date_timestamp.log

You might see this error in the webinfpltfm_startServer_date_timestamp.log, which is located in the Configuration_directory\Lev#\Logs\Configure directory:


BUILD FAILED
C:\SAS\SASWebInfrastructurePlatform\9.3\Config\webinfpltfm_config.xml:579:
Java returned: -1

Note: If you look at the top of the webinfpltfm_ImportDatabase.log you will see the following Firebird reference:

   com.sas.smu.webinfpltfm.DbMetaData@36527f[productName=TRAN][majorVersion=2] 
   [minorVersion=5][productVersion=2.5.0.25920 Firebird 2.5 Release Candidate 2]

Cause

In Oracle, in the SAS_COMMENT table, the COMMENT_TXT column is defined as a CLOB, whereas in the SAS Framework Data Server, the COMMENT_TXT column is defined as a LONGVARCHAR.

A data adapter is needed to convert from a CLOB to a LONGVARCHAR.

Solution

To work around this issue, you need to do a new installation and then use the promotion tools to promote the data from SAS 9.2 to SAS 9.3. This is fixed in SAS 9.3 (TS1M2) revision 12W35 and later.

Additional References



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASWindows Vista9.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows 7 Ultimate x649.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows 7 Ultimate 32 bit9.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows 7 Professional x649.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows 7 Professional 32 bit9.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows 7 Home Premium 32 bit9.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows 7 Home Premium x649.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows 7 Enterprise x649.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows 7 Enterprise 32 bit9.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows XP Professional9.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2008 for x649.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 20089.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 for x649.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft® Windows® for x649.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.21_M39.3_M29.2 TS2M39.3 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.21_M39.3_M29.2 TS2M39.3 TS1M2
Windows Vista for x649.21_M39.3_M29.2 TS2M39.3 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.